package es.ats.codington.festival.domain;

import java.awt.image.BufferedImage;

public class Image {
	
	private int idImage;
	private BufferedImage image;
    private String name;
    
    /**
	 * Default Constructor of Image
	 */
    public Image(){
    	
    }
    
    
    /**
	 * Parameterized Constructor of Image
	 * @param idImage
	 * @param image
	 * @param name
	 */
    public Image(int idImage, BufferedImage image, String name){
    	super();
    	this.idImage = idImage;
    	this.image = image;
    	this.name = name;
    }
    
    
    /**
	 * Parameterized Constructor of Image
	 * @param image
	 * @param name
	 */
    public Image(BufferedImage image, String name){
    	super();
    	this.image = image;
    	this.name = name;
    }
    
    /**
	 * SETTER method for IMAGE class
	 * @param idImage
	 */
    public void setIdImage(int idImage){
    	this.idImage = idImage;
    }
    
    /**
	 * SETTER method for IMAGE class
	 * @param image
	 */
    public void setImage(BufferedImage image) {
        this.image = image;
    }
    
    /**
	 * SETTER method for IMAGE class
	 * @param name
	 */
    public void setName(String name) {
        this.name = name;
    }
    
    /**
	 * GETTER method for IMAGE class
	 * @return
	 */
    public int getIdImage(){
    	return idImage;
    }
    
    
    /**
	 * GETTER method for IMAGE class
	 * @return
	 */
    public BufferedImage getImage() {
        return image;
    }
    
    
    /**
	 * GETTER method for IMAGE class
	 * @return
	 */
    public String getName() {
        return name;
    }

}